home *** CD-ROM | disk | FTP | other *** search
/ Delphi Informant Complete 1995 - 2000 / Delphi Informant Complete 1995 to 2000.iso / Delphi Informant Magazine Complete Works SOURCE CODE 1995.rar / 1995 / MAY / Ge9505 / cust3.pas < prev    next >
Pascal/Delphi Source File  |  1995-03-10  |  564b  |  33 lines

  1. unit Cust3;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages,
  7.   Classes, Graphics, Controls, Forms, Dialogs;
  8.  
  9. type
  10.   CustComp3 = class(TComponent)
  11.   private
  12.     { Private declarations }
  13.     FDemoProp: Integer;
  14.   protected
  15.     { Protected declarations }
  16.   public
  17.     { Public declarations }
  18.   published
  19.     { Published declarations }
  20.     property DemoProp: Integer read FDemoProp write FDemoProp;
  21.   end;
  22.  
  23. procedure Register;
  24.  
  25. implementation
  26.  
  27. procedure Register;
  28. begin
  29.   RegisterComponents('Custom', [CustComp3]);
  30. end;
  31.  
  32. end.
  33.